package com.briup.day27;

public class Test_Class {
    public static void main(String[] args) {
        /*
        * 获取类的字节码的方式
        * 1.类.class
        * 2.实例化对象.getClass()
        * */
        String s="hello";
        Class<? extends String> c1=s.getClass();
        System.out.println(c1);
        Class<String> c2= String.class;
        System.out.println(c2);
        System.out.println(c1==c2);
    }
}
